//
//  jxsTableViewCellController.h
//  ToDoList
//
// This code file is apart of project "iPhone-ToDo-List" 
// (http://code.google.com/p/iphone-todo-list/)
//
// Copyright (c) 2009 Frank Villasenor
//
// Distributed under the terms of the Lesser GNU General Public License.
// A copy of the license should be with these files. If not, you 
// can retrieve a copy from http://www.gnu.org/licenses/lgpl-3.0.txt
// 
// NOTE:
// This TableViewCell[Controller] set is derived from a blog post at:
//  http://bill.dudney.net/roller/objc/entry/uitableview_from_a_nib_file
// The book "Beginning iPhone Development" also covers how to do this, though 
// at the time I had forgotten but this does implement the MVC design pattern...

#import <Foundation/Foundation.h>

@class jxsTableViewCell;
@class tosuTask;

@interface jxsTableViewCellController : NSObject 
{
	jxsTableViewCell *cell;
	
	tosuTask *task;
	
	UILabel *titleLabel;
	UILabel *dueDateLabel;
	UILabel *dueDateLabelLabel; //the label that says "Due Date:"
	UILabel *completeNotice;
}

@property (nonatomic, retain) IBOutlet jxsTableViewCell *cell;

@property (nonatomic, retain) tosuTask *task;

@property (nonatomic, retain) IBOutlet UILabel *titleLabel;
@property (nonatomic, retain) IBOutlet UILabel *dueDateLabel;
@property (nonatomic, retain) IBOutlet UILabel *dueDateLabelLabel;
@property (nonatomic, retain) IBOutlet UILabel *completeNotice;

@end
